package com.fy56.platform.logistics.mapper;

import com.fy56.platform.logistics.common.mapper.IBaseMapper;
import com.fy56.platform.logistics.model.ReceiverContactInfo;

import java.util.List;

public interface ReceiverContactInfoMapper extends IBaseMapper<ReceiverContactInfo> {

    void updateDefaultFlag(Long vipMemberId);

    List<ReceiverContactInfo> selectByVipMemberId(Long vipMemberId);
    List<ReceiverContactInfo> selectByVipMemberIdandName(ReceiverContactInfo record);

    ReceiverContactInfo getExistsByVipMemberIdAndMobile(ReceiverContactInfo record);

    /**
     *
     * @mbggenerated 2018-03-16
     */
    @Override
    int deleteByPrimaryKey(Long id);

    /**
     *
     * @mbggenerated 2018-03-16
     */
    @Override
    int insert(ReceiverContactInfo record);

    /**
     *
     * @mbggenerated 2018-03-16
     */
    @Override
    int insertSelective(ReceiverContactInfo record);

    /**
     *
     * @mbggenerated 2018-03-16
     */
    @Override
    ReceiverContactInfo selectByPrimaryKey(Long id);

    /**
     *
     * @mbggenerated 2018-03-16
     */
    @Override
    int updateByPrimaryKeySelective(ReceiverContactInfo record);

    /**
     *
     * @mbggenerated 2018-03-16
     */
    @Override
    int updateByPrimaryKey(ReceiverContactInfo record);
}